#include <stdio.h>
int main()
{
    int a[5];
    int i;
    int t;
    printf("give me a 1x10 list:");
    for(i=0;i<5;i++)
    {
        scanf("%d",&a[i]);
    }
    printf("the list is：");
    printf("\n");
    for(i=0;i<5;i++)
    {
       printf("%5d",a[i]);
    }
    for(i=0;i<5/2;i++)
    {
        t=a[i];
        a[i]=a[4-i];
        a[4-i]=t;
    }
    printf("\n");
    printf("when the order is reversed,the list become:");
    printf("\n");
    for(i=0;i<5;i++)
    {
        printf("%5d",a[i]);
    }
    printf("\n");









return 0;
}